package com.junko.model.dto;

import com.junko.model.back.Menu;

import java.io.Serializable;
import java.util.List;

public class MenuDto implements Serializable {
    private Menu self;
    private String url;
    private List<MenuDto> children;//有多个直接子节点

    public Menu getSelf() {
        return self;
    }

    public void setSelf(Menu self) {
        this.self = self;
    }

    public List<MenuDto> getChildren() {
        return children;
    }

    public void setChildren(List<MenuDto> children) {
        this.children = children;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
